Hi Tom,
I have a bit that can be set high by the program running on the DSP, but is usually low. Every time It is set high, I print a message to the console, so I know that I am not setting it high. It is bit 147, which is bit 3 on the KAnalog
digital outputs.
I am checking the value of this bit from the PC, using the KM_MainStatus.GetKAnalogBitsStateOutputs function. Once in a while, for this bit, the function seems to return True when the KFlop has not set the bit to true. The next time I
check it, it has returned to False, which is what I expect it to be.
Are there any conditions where KM_MainStatus.GetKAnalogBitsStateOutputs will return the wrong bit value? I’m updating the status object prior to checking this value, using kmController.CurrentStatus.
Will a communication error cause this to happen?
Thanks,
Toby